package com.hivekion.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hivekion.system.domain.SysRole;
import com.hivekion.system.domain.vo.SysRolePermissionModelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

      SysRole checkRoleNameUnique(String roleName);

      List<SysRolePermissionModelVo> GetRolePermission(String roleId);
}
